.class final Ldgb/t0$a;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Ldgb/q0$d;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Ldgb/t0;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x8
    name = null
.end annotation


# direct methods
.method constructor <init>()V
    .locals 0

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Landroid/content/Intent;)V
    .locals 4

    const-string v0, "networkInfo"

    .line 1
    invoke-virtual {p1, v0}, Landroid/content/Intent;->getParcelableExtra(Ljava/lang/String;)Landroid/os/Parcelable;

    move-result-object p1

    check-cast p1, Landroid/net/NetworkInfo;

    if-nez p1, :cond_0

    .line 2
    sget-object p1, Ldgb/t0;->b:Landroid/net/ConnectivityManager;

    invoke-virtual {p1}, Landroid/net/ConnectivityManager;->getActiveNetworkInfo()Landroid/net/NetworkInfo;

    move-result-object p1

    :cond_0
    if-eqz p1, :cond_1

    .line 3
    sput-object p1, Ldgb/t0;->c:Landroid/net/NetworkInfo;

    .line 4
    :cond_1
    sget-object p1, Ldgb/t0;->c:Landroid/net/NetworkInfo;

    .line 5
    sget-object v0, Ldgb/t0;->d:Ljava/util/WeakHashMap;

    monitor-enter v0

    .line 6
    :try_start_0
    sget-object v1, Ldgb/t0;->d:Ljava/util/WeakHashMap;

    invoke-virtual {v1}, Ljava/util/WeakHashMap;->keySet()Ljava/util/Set;

    move-result-object v1

    invoke-interface {v1}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :cond_2
    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_3

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ldgb/t0$b;

    if-eqz v2, :cond_2

    .line 7
    new-instance v3, Ldgb/t0$a$a;

    invoke-direct {v3, p0, v2, p1}, Ldgb/t0$a$a;-><init>(Ldgb/t0$a;Ldgb/t0$b;Landroid/net/NetworkInfo;)V

    invoke-static {v3}, Ldgb/u0;->b(Ljava/lang/Runnable;)V

    goto :goto_0

    .line 8
    :cond_3
    monitor-exit v0

    return-void

    :catchall_0
    move-exception p1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    goto :goto_2

    :goto_1
    throw p1

    :goto_2
    goto :goto_1
.end method
